package com.jdbc;

public class Pet {
    private int id;
    private int host_id;
    private String name;
    private int age;
    private String gender;

    public Pet() {
    }

    public Pet(int host_id, String name, int age, String gender) {
        this.host_id = host_id;
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public Pet(int id, int host_id, String name, int age, String gender) {
        this.id = id;
        this.host_id = host_id;
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getHost_id() {
        return host_id;
    }

    public void setHost_id(int host_id) {
        this.host_id = host_id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "age=" + age +
                ", id=" + id +
                ", host_id=" + host_id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
